# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=py3-pysocks
pkgver=1.7.1
pkgrel=7
pkgdesc="Python Socks module"
url="https://github.com/Anorov/PySocks"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/P/PySocks/PySocks-$pkgver.tar.gz"
builddir="$srcdir/PySocks-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
cef4a5ce8c67fb485644696a23bf68a721db47f3211212de2d4431eaf9ebd26077dd5a06f6dfa7fde2dcb9d7c1ed551facd014e999929cb4d7b504972c464016  PySocks-1.7.1.tar.gz
"
